package com.example.xgakj.newterminal.views;

import android.view.View;

/**
 * @author Administrator
 * @date 2017-11-01
 */

public class ViewWrapper {
    private View view;

    public ViewWrapper(View view) {
        this.view = view;
    }

    public int getHeight(){
        return view.getLayoutParams().height;
    }

    public void setHeight(int height){
        view.getLayoutParams().height = height;
        view.requestLayout();
    }

}
